import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import VueQuillEditor from 'vue-quill-editor'

import 'quill/dist/quill.core.css' // import styles
import 'quill/dist/quill.snow.css' // for snow theme
import 'quill/dist/quill.bubble.css' // for bubble theme

Vue.use(VueQuillEditor, /* { default global options } */ )

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

import Vuex from 'vuex'
Vue.use(Vuex)

import ZkTable from 'vue-table-with-tree-grid'
Vue.use(ZkTable)

import request from '@/utils/request'
Vue.prototype.request = request;

import Breadcrmb from './components/breadcrmb.vue'
Vue.component('Breadcrmb', Breadcrmb)

Vue.config.productionTip = false

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')